using System;
using DataDynamics.ActiveReports;
using DataDynamics.ActiveReports.Document;

namespace DataDynamics.ActiveReports.Samples.Charting
{
	public class rptCharting : ActiveReport3
	{
		public rptCharting()
		{
			InitializeComponent();
		}

		/// <summary>
		/// Format Event
		/// ActiveReports event that is called for every section (Page Header/Footer,
		/// Group Header/Footer, Report Header/Footer, and Detail).  This event is used
		/// to format data before rendering to the page.  This event runs before
		/// CanGrow/CanShrink calculations are performed, so you can change both control
		/// heights and section heights.
		/// </summary>
		private void GroupHeader1_Format(object sender, System.EventArgs eArgs)
		{
			//setup the database connection
			DataDynamics.ActiveReports.DataSources.OleDBDataSource ds = new DataDynamics.ActiveReports.DataSources.OleDBDataSource();
			ds.SQL = ((DataDynamics.ActiveReports.DataSources.OleDBDataSource)this.ChartSalesCategories.DataSource).SQL;
			ds.ConnectionString = GetDBPath.GetNwindConnectString;
			this.ChartSalesCategories.DataSource = ds;

			//Setup the Legend
			foreach(DataDynamics.ActiveReports.Chart.DataPoint dp in ChartSalesCategories.Series[0].Points)
			{
				dp.DisplayInLegend = true;
				dp.LegendText = dp.XValue.ToString() + " " + String.Format("{0:C}",dp.YValues[0]);
			}
		}

		#region ActiveReports Designer generated code
		private DataDynamics.ActiveReports.GroupHeader GroupHeader1 = null;
		private DataDynamics.ActiveReports.Label Label1 = null;
		private DataDynamics.ActiveReports.ChartControl ChartSalesCategories = null;
		private DataDynamics.ActiveReports.Label Label3 = null;
		private DataDynamics.ActiveReports.Detail Detail = null;
		private DataDynamics.ActiveReports.ChartControl ChartUnbound = null;
		private DataDynamics.ActiveReports.Label lblUnbound = null;
		private DataDynamics.ActiveReports.Label Label2 = null;
		private DataDynamics.ActiveReports.GroupFooter GroupFooter1 = null;
		public void InitializeComponent()
		{
            DataDynamics.ActiveReports.Chart.ChartArea ChartArea1 = new DataDynamics.ActiveReports.Chart.ChartArea();
            DataDynamics.ActiveReports.Chart.Axis Axis1 = new DataDynamics.ActiveReports.Chart.Axis();
            DataDynamics.ActiveReports.Chart.Axis Axis2 = new DataDynamics.ActiveReports.Chart.Axis();
            DataDynamics.ActiveReports.Chart.Axis Axis3 = new DataDynamics.ActiveReports.Chart.Axis();
            DataDynamics.ActiveReports.Chart.Axis Axis4 = new DataDynamics.ActiveReports.Chart.Axis();
            DataDynamics.ActiveReports.Chart.Axis Axis5 = new DataDynamics.ActiveReports.Chart.Axis();
            DataDynamics.ActiveReports.Chart.Legend Legend1 = new DataDynamics.ActiveReports.Chart.Legend();
            DataDynamics.ActiveReports.Chart.Title Title1 = new DataDynamics.ActiveReports.Chart.Title();
            DataDynamics.ActiveReports.Chart.Title Title2 = new DataDynamics.ActiveReports.Chart.Title();
            DataDynamics.ActiveReports.Chart.Series Series1 = new DataDynamics.ActiveReports.Chart.Series();
            DataDynamics.ActiveReports.Chart.Title Title3 = new DataDynamics.ActiveReports.Chart.Title();
            DataDynamics.ActiveReports.Chart.Title Title4 = new DataDynamics.ActiveReports.Chart.Title();
            DataDynamics.ActiveReports.Chart.ChartArea ChartArea2 = new DataDynamics.ActiveReports.Chart.ChartArea();
            DataDynamics.ActiveReports.Chart.Axis Axis6 = new DataDynamics.ActiveReports.Chart.Axis();
            DataDynamics.ActiveReports.Chart.Axis Axis7 = new DataDynamics.ActiveReports.Chart.Axis();
            DataDynamics.ActiveReports.Chart.Axis Axis8 = new DataDynamics.ActiveReports.Chart.Axis();
            DataDynamics.ActiveReports.Chart.Axis Axis9 = new DataDynamics.ActiveReports.Chart.Axis();
            DataDynamics.ActiveReports.Chart.Axis Axis10 = new DataDynamics.ActiveReports.Chart.Axis();
            DataDynamics.ActiveReports.Chart.WallRange WallRange1 = new DataDynamics.ActiveReports.Chart.WallRange();
            DataDynamics.ActiveReports.Chart.WallRange WallRange2 = new DataDynamics.ActiveReports.Chart.WallRange();
            DataDynamics.ActiveReports.Chart.Legend Legend2 = new DataDynamics.ActiveReports.Chart.Legend();
            DataDynamics.ActiveReports.Chart.Title Title5 = new DataDynamics.ActiveReports.Chart.Title();
            DataDynamics.ActiveReports.Chart.Title Title6 = new DataDynamics.ActiveReports.Chart.Title();
            DataDynamics.ActiveReports.Chart.Series Series2 = new DataDynamics.ActiveReports.Chart.Series();
            DataDynamics.ActiveReports.Chart.Series Series3 = new DataDynamics.ActiveReports.Chart.Series();
            DataDynamics.ActiveReports.Chart.Series Series4 = new DataDynamics.ActiveReports.Chart.Series();
            DataDynamics.ActiveReports.Chart.Series Series5 = new DataDynamics.ActiveReports.Chart.Series();
            DataDynamics.ActiveReports.Chart.Title Title7 = new DataDynamics.ActiveReports.Chart.Title();
            DataDynamics.ActiveReports.Chart.Title Title8 = new DataDynamics.ActiveReports.Chart.Title();
            this.Detail = new DataDynamics.ActiveReports.Detail();
            this.GroupHeader1 = new DataDynamics.ActiveReports.GroupHeader();
            this.GroupFooter1 = new DataDynamics.ActiveReports.GroupFooter();
            this.Label1 = new DataDynamics.ActiveReports.Label();
            this.ChartSalesCategories = new DataDynamics.ActiveReports.ChartControl();
            this.Label3 = new DataDynamics.ActiveReports.Label();
            this.ChartUnbound = new DataDynamics.ActiveReports.ChartControl();
            this.lblUnbound = new DataDynamics.ActiveReports.Label();
            this.Label2 = new DataDynamics.ActiveReports.Label();
            ((System.ComponentModel.ISupportInitialize)(this.ChartSalesCategories)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ChartUnbound)).BeginInit();
            // 
            // Detail
            // 
            this.Detail.Controls.AddRange(new DataDynamics.ActiveReports.ARControl[] {
                        this.ChartUnbound,
                        this.lblUnbound,
                        this.Label2});
            this.Detail.Height = 4.822222F;
            this.Detail.Name = "Detail";
            // 
            // GroupHeader1
            // 
            this.GroupHeader1.Controls.AddRange(new DataDynamics.ActiveReports.ARControl[] {
                        this.Label1,
                        this.ChartSalesCategories,
                        this.Label3});
            this.GroupHeader1.Height = 5.84375F;
            this.GroupHeader1.Name = "GroupHeader1";
            this.GroupHeader1.NewPage = DataDynamics.ActiveReports.NewPage.After;
            // 
            // GroupFooter1
            // 
            this.GroupFooter1.Height = 0.25F;
            this.GroupFooter1.Name = "GroupFooter1";
            // 
            // Label1
            // 
            this.Label1.Alignment = DataDynamics.ActiveReports.TextAlignment.Center;
            this.Label1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.Label1.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
            this.Label1.Height = 0.25F;
            this.Label1.HyperLink = null;
            this.Label1.Left = 0F;
            this.Label1.Name = "Label1";
            this.Label1.Style = "text-align: center; font-weight: bold; font-size: 12pt; ";
            this.Label1.Text = "Bound Charting";
            this.Label1.Top = 0F;
            this.Label1.Width = 6.5F;
            // 
            // ChartSalesCategories
            // 
            this.ChartSalesCategories.AutoRefresh = true;
            this.ChartSalesCategories.Backdrop = new DataDynamics.ActiveReports.Chart.BackdropItem(DataDynamics.ActiveReports.Chart.Graphics.GradientType.FromCenter, System.Drawing.Color.Honeydew, System.Drawing.Color.DarkGreen);
            Axis1.Arrow = DataDynamics.ActiveReports.Chart.ArrowType.Triangle;
            Axis1.AxisType = DataDynamics.ActiveReports.Chart.AxisType.Categorical;
            Axis1.LabelFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
            Axis1.LabelsGap = 0;
            Axis1.LabelsVisible = false;
            Axis1.MajorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, 0F, false);
            Axis1.MinorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, 0F, false);
            Axis1.Position = 0;
            Axis1.TickOffset = 0;
            Axis1.Title = "Axis X";
            Axis1.TitleFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
            Axis1.Visible = false;
            Axis2.LabelFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
            Axis2.LabelsGap = 0;
            Axis2.LabelsVisible = false;
            Axis2.Line = new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None);
            Axis2.MajorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, 0F, false);
            Axis2.MinorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, 0F, false);
            Axis2.Position = 0;
            Axis2.TickOffset = 0;
            Axis2.TitleFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
            Axis2.Visible = false;
            Axis3.Arrow = DataDynamics.ActiveReports.Chart.ArrowType.Triangle;
            Axis3.LabelFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
            Axis3.LabelsGap = 0;
            Axis3.LabelsVisible = false;
            Axis3.MajorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, 0F, false);
            Axis3.MinorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, 0F, false);
            Axis3.Position = 0;
            Axis3.TickOffset = 0;
            Axis3.Title = "Axis Y";
            Axis3.TitleFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F), -90F);
            Axis3.Visible = false;
            Axis4.LabelFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
            Axis4.LabelsGap = 0;
            Axis4.LabelsVisible = false;
            Axis4.Line = new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None);
            Axis4.MajorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, 0F, false);
            Axis4.MinorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, 0F, false);
            Axis4.Position = 0;
            Axis4.TickOffset = 0;
            Axis4.TitleFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
            Axis4.Visible = false;
            Axis5.LabelFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
            Axis5.LabelsGap = 0;
            Axis5.LabelsVisible = false;
            Axis5.Line = new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None);
            Axis5.MajorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, 0F, false);
            Axis5.MinorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, 0F, false);
            Axis5.Position = 0;
            Axis5.TickOffset = 0;
            Axis5.TitleFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
            Axis5.Visible = false;
            ChartArea1.Axes.AddRange(new DataDynamics.ActiveReports.Chart.AxisBase[] {
                        Axis1,
                        Axis2,
                        Axis3,
                        Axis4,
                        Axis5});
            ChartArea1.Backdrop = new DataDynamics.ActiveReports.Chart.BackdropItem(DataDynamics.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, DataDynamics.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, DataDynamics.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
            ChartArea1.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
            ChartArea1.Light = new DataDynamics.ActiveReports.Chart.Light(new DataDynamics.ActiveReports.Chart.Graphics.Point3d(10F, 40F, 20F), DataDynamics.ActiveReports.Chart.LightType.InfiniteDirectional, 0.5F);
            ChartArea1.Name = "defaultArea";
            ChartArea1.Projection = new DataDynamics.ActiveReports.Chart.Projection(DataDynamics.ActiveReports.Chart.Graphics.ProjectionType.Orthogonal, 0F, 0F, 0F, 45F);
            ChartArea1.WallXY = new DataDynamics.ActiveReports.Chart.PlaneItem(new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(DataDynamics.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, DataDynamics.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, DataDynamics.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched), false, 0F);
            ChartArea1.WallXZ = new DataDynamics.ActiveReports.Chart.PlaneItem(new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(DataDynamics.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, DataDynamics.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, DataDynamics.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched), false, 0F);
            ChartArea1.WallYZ = new DataDynamics.ActiveReports.Chart.PlaneItem(new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(DataDynamics.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, DataDynamics.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, DataDynamics.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched), false, 0F);
            ChartArea1.ZDepthRatio = 0.3F;
            this.ChartSalesCategories.ChartAreas.AddRange(new DataDynamics.ActiveReports.Chart.ChartArea[] {
                        ChartArea1});
            this.ChartSalesCategories.ChartBorder = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
            this.ChartSalesCategories.ColorPalette = DataDynamics.ActiveReports.Chart.ColorPalette.None;
            this.ChartSalesCategories.DataSource = new DataDynamics.ActiveReports.DataSources.OleDBDataSource("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Data Dynamics\\Activ" +
"eReports for .NET 3.0\\Data\\NWIND.MDB;Persist Security Info=False", @"SELECT DISTINCTROW Categories.CategoryName, Sum(CCur([Order Details].[UnitPrice]*[Quantity]*(1-[Discount])/100)*100) AS ProductSales, Employees.EmployeeID FROM Employees INNER JOIN ((Categories INNER JOIN Products ON Categories.CategoryID = Products.CategoryID) INNER JOIN (Orders INNER JOIN [Order Details] ON Orders.OrderID = [Order Details].OrderID) ON Products.ProductID = [Order Details].ProductID) ON Employees.EmployeeID = Orders.EmployeeID WHERE (((Orders.ShippedDate) Between #1/1/1995# And #12/31/1995#)) GROUP BY Categories.CategoryName, Employees.EmployeeID HAVING Employees.EmployeeID = 1", 30);
            this.ChartSalesCategories.Height = 5F;
            this.ChartSalesCategories.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.ChartSalesCategories.Left = 0.0625F;
            Legend1.Alignment = DataDynamics.ActiveReports.Chart.Alignment.Bottom;
            Legend1.Backdrop = new DataDynamics.ActiveReports.Chart.BackdropItem(System.Drawing.Color.White, ((System.Byte)(30)));
            Legend1.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Black, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
            Legend1.DockArea = ChartArea1;
            Title1.Backdrop = new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(DataDynamics.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.White, DataDynamics.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, DataDynamics.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
            Title1.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
            Title1.DockArea = null;
            Title1.Font = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
            Title1.Name = "";
            Title1.Text = "";
            Title1.Visible = false;
            Legend1.Footer = Title1;
            Legend1.GridLayout = new DataDynamics.ActiveReports.Chart.GridLayout(2, 4);
            Title2.Alignment = DataDynamics.ActiveReports.Chart.Alignment.Top;
            Title2.Backdrop = new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.White, ((System.Byte)(20)));
            Title2.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.DarkGray, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.White);
            Title2.DockArea = null;
            Title2.Font = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold));
            Title2.Name = "";
            Title2.Text = "Categories";
            Legend1.Header = Title2;
            Legend1.LabelsFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Microsoft Sans Serif", 8F));
            Legend1.Name = "CategoryLegend";
            this.ChartSalesCategories.Legends.AddRange(new DataDynamics.ActiveReports.Chart.Legend[] {
                        Legend1});
            this.ChartSalesCategories.Name = "ChartSalesCategories";
            this.ChartSalesCategories.RightToLeft = System.Windows.Forms.RightToLeft.No;
            Series1.AntiAliasMode = DataDynamics.ActiveReports.Chart.Graphics.AntiAliasMode.Both;
            Series1.AxisX = Axis1;
            Series1.AxisY = Axis3;
            Series1.ChartArea = ChartArea1;
            Series1.ColorPalette = DataDynamics.ActiveReports.Chart.ColorPalette.Iceburg;
            Series1.Legend = Legend1;
            Series1.LegendText = "Category Sales";
            Series1.Name = "Sales";
            Series1.Properties = new DataDynamics.ActiveReports.Chart.CustomProperties(new DataDynamics.ActiveReports.Chart.KeyValuePair[] {
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("Backdrop", new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.White, ((System.Byte)(100)))),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("BorderLine", new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.DimGray)),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("ExplodeFactor", 0.15F),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("HoleSize", 0F),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("StartAngle", 1F),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("Marker", new DataDynamics.ActiveReports.Chart.Marker(10, DataDynamics.ActiveReports.Chart.MarkerStyle.None, new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(), new DataDynamics.ActiveReports.Chart.Graphics.Line(), new DataDynamics.ActiveReports.Chart.LabelInfo(new DataDynamics.ActiveReports.Chart.Graphics.Line(), new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.MintCream, ((System.Byte)(175))), new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.DarkGreen, new System.Drawing.Font("Arial", 10F)), "{Name}", DataDynamics.ActiveReports.Chart.Alignment.Bottom))),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("Tooltip", new DataDynamics.ActiveReports.Chart.LabelInfo())});
            Series1.Type = DataDynamics.ActiveReports.Chart.ChartType.Doughnut3D;
            Series1.ValueMembersY = "ProductSales";
            Series1.ValueMemberX = "CategoryName";
            this.ChartSalesCategories.Series.AddRange(new DataDynamics.ActiveReports.Chart.Series[] {
                        Series1});
            Title3.Alignment = DataDynamics.ActiveReports.Chart.Alignment.Center;
            Title3.AntiAliasMode = DataDynamics.ActiveReports.Chart.Graphics.AntiAliasMode.None;
            Title3.Backdrop = new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.White, ((System.Byte)(50)));
            Title3.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
            Title3.DockArea = ChartArea1;
            Title3.Font = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Microsoft Sans Serif", 20F));
            Title3.Name = "header";
            Title3.Text = "Category Sale Amounts for Pacific CSR\'s";
            Title4.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Black);
            Title4.DockArea = ChartArea1;
            Title4.Docking = DataDynamics.ActiveReports.Chart.DockType.Bottom;
            Title4.Font = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.Black, new System.Drawing.Font("Microsoft Sans Serif", 8F));
            Title4.Name = "Title1";
            Title4.Text = "";
            this.ChartSalesCategories.Titles.AddRange(new DataDynamics.ActiveReports.Chart.Title[] {
                        Title3,
                        Title4});
            this.ChartSalesCategories.Top = 0.75F;
            this.ChartSalesCategories.UIOptions = DataDynamics.ActiveReports.Chart.UIOptions.ForceHitTesting;
            this.ChartSalesCategories.Width = 6.375F;
            // 
            // Label3
            // 
            this.Label3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.Label3.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
            this.Label3.Height = 0.375F;
            this.Label3.HyperLink = null;
            this.Label3.Left = 1F;
            this.Label3.Name = "Label3";
            this.Label3.Style = "";
            this.Label3.Text = "The data in this chart is bound using the datasource editor in the property list " +
"box. This chart also uses some code to display the Legend Text.";
            this.Label3.Top = 0.25F;
            this.Label3.Width = 5F;
            // 
            // ChartUnbound
            // 
            this.ChartUnbound.AutoRefresh = true;
            this.ChartUnbound.Backdrop = new DataDynamics.ActiveReports.Chart.BackdropItem(DataDynamics.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Color.DeepSkyBlue, System.Drawing.Color.SteelBlue);
            Axis6.AntiAliasMode = DataDynamics.ActiveReports.Chart.Graphics.AntiAliasMode.Text;
            Axis6.Arrow = DataDynamics.ActiveReports.Chart.ArrowType.Triangle;
            Axis6.AxisType = DataDynamics.ActiveReports.Chart.AxisType.Categorical;
            Axis6.LabelFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Verdana", 8.25F));
            Axis6.Labels.AddRange(new string[] {
                        "1",
                        "2",
                        "3",
                        "4",
                        "5",
                        "6",
                        "7",
                        "8",
                        "9"});
            Axis6.Line = new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White);
            Axis6.MajorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), 1, 0F, true);
            Axis6.Max = 9;
            Axis6.MinorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), 0, 5F, true);
            Axis7.Arrow = DataDynamics.ActiveReports.Chart.ArrowType.Triangle;
            Axis7.MinorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(), 0.5, 5F);
            Axis7.Visible = false;
            Axis8.AntiAliasMode = DataDynamics.ActiveReports.Chart.Graphics.AntiAliasMode.Text;
            Axis8.Arrow = DataDynamics.ActiveReports.Chart.ArrowType.Triangle;
            Axis8.LabelFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Verdana", 8.25F));
            Axis8.Line = new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White);
            Axis8.MajorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0), 10, 6F, true);
            Axis8.MinorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent), 5, 3F, false);
            Axis9.Arrow = DataDynamics.ActiveReports.Chart.ArrowType.Triangle;
            Axis9.MinorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(), 0.5, 5F);
            Axis9.Visible = false;
            Axis10.Arrow = DataDynamics.ActiveReports.Chart.ArrowType.Triangle;
            Axis10.MinorTick = new DataDynamics.ActiveReports.Chart.Tick(new DataDynamics.ActiveReports.Chart.Graphics.Line(), 0.5, 5F);
            Axis10.Visible = false;
            ChartArea2.Axes.AddRange(new DataDynamics.ActiveReports.Chart.AxisBase[] {
                        Axis6,
                        Axis7,
                        Axis8,
                        Axis9,
                        Axis10});
            ChartArea2.Backdrop = new DataDynamics.ActiveReports.Chart.BackdropItem(DataDynamics.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.Black, DataDynamics.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, DataDynamics.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
            ChartArea2.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 10, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Transparent);
            ChartArea2.Light = new DataDynamics.ActiveReports.Chart.Light(new DataDynamics.ActiveReports.Chart.Graphics.Point3d(0F, 10F, 20F), DataDynamics.ActiveReports.Chart.LightType.Ambient, 0.6F);
            ChartArea2.Name = "chartArea1";
            ChartArea2.Projection = new DataDynamics.ActiveReports.Chart.Projection(DataDynamics.ActiveReports.Chart.Graphics.ProjectionType.Identical, 0.3F, 0.3F);
            WallRange1.AdjacentAxes.AddRange(new DataDynamics.ActiveReports.Chart.AxisBase[] {
                        Axis6,
                        Axis8});
            WallRange1.Backdrop = new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.White, ((System.Byte)(70)));
            WallRange1.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent));
            WallRange1.EndValue = 24;
            WallRange1.Name = "";
            WallRange1.PrimaryAxis = Axis8;
            WallRange1.StartValue = 12;
            WallRange2.AdjacentAxes.AddRange(new DataDynamics.ActiveReports.Chart.AxisBase[] {
                        Axis6,
                        Axis8});
            WallRange2.Backdrop = new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.White, ((System.Byte)(70)));
            WallRange2.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent));
            WallRange2.EndValue = 48;
            WallRange2.Name = "";
            WallRange2.PrimaryAxis = Axis8;
            WallRange2.StartValue = 36;
            ChartArea2.WallRanges.AddRange(new DataDynamics.ActiveReports.Chart.WallRange[] {
                        WallRange1,
                        WallRange2});
            ChartArea2.WallXY = new DataDynamics.ActiveReports.Chart.PlaneItem(new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.Silver, ((System.Byte)(100))));
            ChartArea2.WallXZ = new DataDynamics.ActiveReports.Chart.PlaneItem(new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.Beige), 5F);
            ChartArea2.WallYZ = new DataDynamics.ActiveReports.Chart.PlaneItem(new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.Beige), 5F);
            ChartArea2.ZDepthRatio = 0.3F;
            this.ChartUnbound.ChartAreas.AddRange(new DataDynamics.ActiveReports.Chart.ChartArea[] {
                        ChartArea2});
            this.ChartUnbound.ChartBorder = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.DodgerBlue, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None), 0, System.Drawing.Color.Gainsboro);
            this.ChartUnbound.Height = 4F;
            this.ChartUnbound.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.ChartUnbound.Left = 0.0625F;
            Legend2.AntiAliasMode = DataDynamics.ActiveReports.Chart.Graphics.AntiAliasMode.Both;
            Legend2.Backdrop = new DataDynamics.ActiveReports.Chart.BackdropItem(System.Drawing.Color.Silver, ((System.Byte)(87)));
            Legend2.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.CadetBlue, 0), 0, System.Drawing.Color.White);
            Legend2.DockArea = ChartArea2;
            Legend2.DockInsideArea = true;
            Title5.Backdrop = new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(DataDynamics.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.Transparent, System.Drawing.Color.Black, DataDynamics.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, DataDynamics.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
            Title5.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 0, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None));
            Title5.DockArea = null;
            Title5.Name = "";
            Title5.Text = "";
            Title5.Visible = false;
            Legend2.Footer = Title5;
            Title6.DockArea = null;
            Title6.Name = "";
            Title6.Text = "";
            Title6.Visible = false;
            Legend2.Header = Title6;
            Legend2.LabelsFont = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Verdana", 8.25F));
            Legend2.MarginX = 77;
            Legend2.Name = "defaultLegend";
            this.ChartUnbound.Legends.AddRange(new DataDynamics.ActiveReports.Chart.Legend[] {
                        Legend2});
            this.ChartUnbound.Name = "ChartUnbound";
            this.ChartUnbound.RightToLeft = System.Windows.Forms.RightToLeft.No;
            Series2.AntiAliasMode = DataDynamics.ActiveReports.Chart.Graphics.AntiAliasMode.Graphics;
            Series2.AxisX = Axis6;
            Series2.AxisY = Axis8;
            Series2.ChartArea = ChartArea2;
            Series2.Legend = Legend2;
            Series2.LegendText = "";
            Series2.Name = "Series A ";
            Series2.Points.AddRange(new DataDynamics.ActiveReports.Chart.DataPoint[] {
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("5"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("7"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("7"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("9"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("13"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("12"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("14"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("16"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("16"), false)});
            Series2.Properties = new DataDynamics.ActiveReports.Chart.CustomProperties(new DataDynamics.ActiveReports.Chart.KeyValuePair[] {
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("Backdrop", new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.Gold, ((System.Byte)(200)))),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("BorderLine", new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White)),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("Marker", new DataDynamics.ActiveReports.Chart.Marker(10, DataDynamics.ActiveReports.Chart.MarkerStyle.None, new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(), new DataDynamics.ActiveReports.Chart.Graphics.Line(), new DataDynamics.ActiveReports.Chart.LabelInfo(new DataDynamics.ActiveReports.Chart.Graphics.Line(), new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(), new DataDynamics.ActiveReports.Chart.FontInfo(), "", DataDynamics.ActiveReports.Chart.Alignment.Bottom))),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("Tooltip", new DataDynamics.ActiveReports.Chart.LabelInfo())});
            Series2.Type = DataDynamics.ActiveReports.Chart.ChartType.StackedArea;
            Series2.ZOrder = 0F;
            Series3.AntiAliasMode = DataDynamics.ActiveReports.Chart.Graphics.AntiAliasMode.Graphics;
            Series3.AxisX = Axis6;
            Series3.AxisY = Axis8;
            Series3.ChartArea = ChartArea2;
            Series3.Legend = Legend2;
            Series3.LegendText = "";
            Series3.Name = "Series B ";
            Series3.Points.AddRange(new DataDynamics.ActiveReports.Chart.DataPoint[] {
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("8"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("12"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("12"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("15"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("14"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("14"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("17"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("20"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("18"), false)});
            Series3.Properties = new DataDynamics.ActiveReports.Chart.CustomProperties(new DataDynamics.ActiveReports.Chart.KeyValuePair[] {
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("Backdrop", new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.LimeGreen, ((System.Byte)(200)))),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("BorderLine", new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White)),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("Tooltip", new DataDynamics.ActiveReports.Chart.LabelInfo())});
            Series3.Type = DataDynamics.ActiveReports.Chart.ChartType.StackedArea;
            Series3.ZOrder = 0F;
            Series4.AntiAliasMode = DataDynamics.ActiveReports.Chart.Graphics.AntiAliasMode.Graphics;
            Series4.AxisX = Axis6;
            Series4.AxisY = Axis8;
            Series4.ChartArea = ChartArea2;
            Series4.Legend = Legend2;
            Series4.LegendText = "";
            Series4.Name = "Series C ";
            Series4.Points.AddRange(new DataDynamics.ActiveReports.Chart.DataPoint[] {
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("3"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("3"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("4"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("4"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("5"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("3"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("6"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("8"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("8"), false)});
            Series4.Properties = new DataDynamics.ActiveReports.Chart.CustomProperties(new DataDynamics.ActiveReports.Chart.KeyValuePair[] {
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("Backdrop", new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.DodgerBlue, ((System.Byte)(200)))),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("BorderLine", new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White)),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("Tooltip", new DataDynamics.ActiveReports.Chart.LabelInfo())});
            Series4.Type = DataDynamics.ActiveReports.Chart.ChartType.StackedArea;
            Series4.ZOrder = 0F;
            Series5.AntiAliasMode = DataDynamics.ActiveReports.Chart.Graphics.AntiAliasMode.Graphics;
            Series5.AxisX = Axis6;
            Series5.AxisY = Axis8;
            Series5.ChartArea = ChartArea2;
            Series5.Legend = Legend2;
            Series5.LegendText = "";
            Series5.Name = "Series D ";
            Series5.Points.AddRange(new DataDynamics.ActiveReports.Chart.DataPoint[] {
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("6"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("6"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("7"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("10"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("11"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("14"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("12"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("15"), false),
                        new DataDynamics.ActiveReports.Chart.DataPoint("", new DataDynamics.ActiveReports.Chart.DoubleArray("12"), false)});
            Series5.Properties = new DataDynamics.ActiveReports.Chart.CustomProperties(new DataDynamics.ActiveReports.Chart.KeyValuePair[] {
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("Backdrop", new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.DarkOrange, ((System.Byte)(200)))),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("BorderLine", new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.White)),
                        new DataDynamics.ActiveReports.Chart.KeyValuePair("Tooltip", new DataDynamics.ActiveReports.Chart.LabelInfo())});
            Series5.Type = DataDynamics.ActiveReports.Chart.ChartType.StackedArea;
            Series5.ZOrder = 0F;
            this.ChartUnbound.Series.AddRange(new DataDynamics.ActiveReports.Chart.Series[] {
                        Series2,
                        Series3,
                        Series4,
                        Series5});
            Title7.Alignment = DataDynamics.ActiveReports.Chart.Alignment.Top;
            Title7.AntiAliasMode = DataDynamics.ActiveReports.Chart.Graphics.AntiAliasMode.Text;
            Title7.Backdrop = new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(DataDynamics.ActiveReports.Chart.Graphics.BackdropStyle.Transparent, System.Drawing.Color.White, System.Drawing.Color.Black, DataDynamics.ActiveReports.Chart.Graphics.GradientType.Vertical, System.Drawing.Drawing2D.HatchStyle.DottedGrid, null, DataDynamics.ActiveReports.Chart.Graphics.PicturePutStyle.Stretched);
            Title7.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Black, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None));
            Title7.DockArea = null;
            Title7.Font = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Arial", 12F));
            Title7.Name = "header";
            Title7.Text = "Sample Chart - No Real Meaning";
            Title8.Alignment = DataDynamics.ActiveReports.Chart.Alignment.Center;
            Title8.AntiAliasMode = DataDynamics.ActiveReports.Chart.Graphics.AntiAliasMode.Text;
            Title8.Backdrop = new DataDynamics.ActiveReports.Chart.Graphics.Backdrop(System.Drawing.Color.SteelBlue);
            Title8.Border = new DataDynamics.ActiveReports.Chart.Border(new DataDynamics.ActiveReports.Chart.Graphics.Line(System.Drawing.Color.Transparent, 10, DataDynamics.ActiveReports.Chart.Graphics.LineStyle.None));
            Title8.DockArea = null;
            Title8.Docking = DataDynamics.ActiveReports.Chart.DockType.Bottom;
            Title8.Font = new DataDynamics.ActiveReports.Chart.FontInfo(System.Drawing.Color.White, new System.Drawing.Font("Verdana", 8.25F));
            Title8.Name = "footer";
            Title8.Text = "(c) Data Dynamics Inc.  2004";
            this.ChartUnbound.Titles.AddRange(new DataDynamics.ActiveReports.Chart.Title[] {
                        Title7,
                        Title8});
            this.ChartUnbound.Top = 0.75F;
            this.ChartUnbound.Width = 6.375F;
            // 
            // lblUnbound
            // 
            this.lblUnbound.Alignment = DataDynamics.ActiveReports.TextAlignment.Center;
            this.lblUnbound.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.lblUnbound.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
            this.lblUnbound.Height = 0.25F;
            this.lblUnbound.HyperLink = null;
            this.lblUnbound.Left = 0F;
            this.lblUnbound.Name = "lblUnbound";
            this.lblUnbound.Style = "text-align: center; font-weight: bold; font-size: 12pt; ";
            this.lblUnbound.Text = "Unbound Charting";
            this.lblUnbound.Top = 0F;
            this.lblUnbound.Width = 6.5F;
            // 
            // Label2
            // 
            this.Label2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.Label2.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(0)));
            this.Label2.Height = 0.4375F;
            this.Label2.HyperLink = null;
            this.Label2.Left = 1F;
            this.Label2.Name = "Label2";
            this.Label2.Style = "";
            this.Label2.Text = "The data in this chart is setup as data points in the series editor. It is not co" +
"nnected to any external datasource.";
            this.Label2.Top = 0.25F;
            this.Label2.Width = 5F;
            // 
            // ActiveReport31
            // 
            this.PageSettings.PaperHeight = 11F;
            this.PageSettings.PaperWidth = 8.5F;
            this.Sections.Add(this.GroupHeader1);
            this.Sections.Add(this.Detail);
            this.Sections.Add(this.GroupFooter1);
            ((System.ComponentModel.ISupportInitialize)(this.ChartSalesCategories)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ChartUnbound)).EndInit();
       
			// Attach Report Events
			this.GroupHeader1.Format += new System.EventHandler(this.GroupHeader1_Format);
		 }

		#endregion
	}
}
